<!-- 模仿天猫整站j2ee 教程 为how2j.cn 版权所有-->
<!-- 本教程仅用于学习使用，切勿用于非法用途，由此引起一切后果与本站无关-->
<!-- 供购买者学习，请勿私自传播，否则自行承担相关法律责任-->

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>

	<a href="${pageContext.request.contextPath}">
		<img id="logo" src="img/site/logo.gif" class="logo">
	</a>
	
	<form action="foresearch" method="post" >
		 <div class="searchDiv">
            <input type="text" value="${param.keyword}" placeholder="时尚男鞋  太阳镜 " name="keyword">
            <button class="searchButton" type="submit">搜索</button>
            <div class="searchBelow">
            	<c:forEach items="${cs}" var="c" varStatus="st">
            		<c:if test="${st.count>=5 && st.count<=8}">
            			<span>
            				<a href="forecategory?cid=${c.id}">${c.name}</a>
            				<c:if test="${st.count!=8}"><span>|</span></c:if>
            			</span>
            		</c:if>
            	</c:forEach>
         	</div>
        </div>

	</form>	
